{% extends 'base.html' %}

{% block content %}
<div class="container mt-4">
    <h2 class="mb-4">确认删除任务</h2>
    <p>确定要删除任务 "{{ object.task_title }}" 吗？此操作不可撤销。</p>
    <form method="post">
        {% csrf_token %}
        <button type="submit" class="btn btn-danger">确认删除</button>
        <a href="{% url 'task_list' %}" class="btn btn-secondary">取消</a>
    </form>
</div>
{% endblock %}